package com.njupt.yanglonglong.report.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njupt.yanglonglong.report.demo.dto.ExperimentInfoDto;
import com.njupt.yanglonglong.report.demo.entity.RAppliedExperiment;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @Entity com.njupt.yanglonglong.report.demo.entity.RAppliedExperiment
*/
@Repository
public interface RAppliedExperimentMapper extends BaseMapper<RAppliedExperiment> {

    List<ExperimentInfoDto> queryListByCourseTeacher(String courseId,String teacherId);

    List<ExperimentInfoDto> queryOpenedExperimentList(String courseId, String teacherId);
}
